<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>按钮点击需求1.0</title>
</head>
<style>
  #modal {
    height: 200px;
    width: 200px;
    line-height: 200px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid black;
    text-align: center;
  }

</style>

<body>
  <button id='open'>点击打开</button>
  <button id='close'>关闭弹框</button>
</body>
<script src="./deracotor.js"></script>

</html>
